<!DOCTYPE html>
<html>
	<head th:replace="/mobile/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>顺山科技智慧生活服务平台</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/mobile/merchant/merchantfund/merchantfund.css(css=${css})}"/>
		</th:block>
	</head>
	<body>
		<div class="weui-tab__bd-item">
	    	<div class="weui-cell_selects">
	    		<span class="open-popup" onclick="instance.popupRecordSearch();">筛选<i class="fa fa-filter"></i></span>
		    </div>
		    <div id="record_List">
			    <th:block th:fragment="record_List" th:if="${record!=null}">
			      	<th:block th:each="record, i : ${record.recordList}">
				      	<div class="weui-form-preview weui-form-previews" th:onclick="|instance.popupRecordDetails('${record.entityid}');|">
				    		<div class="weui-form-preview__hd">
							    <div class="weui-form-preview__label weui-labels">￥<em style="font-style:normal" th:text="${record.totalamount}"></em></div>
							</div>
							<div class="weui-form-preview__hd">
							    <a class="weui-form-preview__label" th:text="${record.recordtype == 1} ? '收入' : '支出'"></a>
							    <em class="weui-form-preview__value weui-values" th:text="${record.recordtime}"></em>
							</div>
						 </div>
			      	</th:block>
			    </th:block>
		    </div>
	    	<!-- <div class="weui-form-preview weui-form-previews">
	    		<div class="weui-form-preview__hd">
				    <div class="weui-form-preview__label weui-labels">￥23500.00</div>
				</div>
				<div class="weui-form-preview__hd">
				    <a class="weui-form-preview__label">收入</a>
				    <em class="weui-form-preview__value weui-values">2019-07-17</em>
				</div>
			 </div>
			 <div class="weui-form-preview weui-form-previews">
	    		<div class="weui-form-preview__hd">
				    <div class="weui-form-preview__label weui-labels">￥13500.00</div>
				</div>
				<div class="weui-form-preview__hd">
				    <a class="weui-form-preview__label">支出</a>
				    <em class="weui-form-preview__value weui-values">2019-07-17</em>
				</div>
			 </div>
			 <div class="weui-form-preview weui-form-previews">
	    		<div class="weui-form-preview__hd">
				    <div class="weui-form-preview__label weui-labels">￥13500.00</div>
				</div>
				<div class="weui-form-preview__hd">
				    <a class="weui-form-preview__label">收入</a>
				    <em class="weui-form-preview__value weui-values">2019-07-17</em>
				</div>
			 </div> -->
	    </div>
	<script type="text/javascript" th:src="@{{js}/mobile/merchant/merchantfund/merchantfund.js(js=${js})}"></script>
	</body>
</html>